package com.menggudf.service;

import com.menggudf.model.MedicalRecordModel;
import com.menggudf.model.ResultModel;

import java.util.Map;

public interface MedicalRecordService {
    MedicalRecordModel getById(Integer id);

    Map<String, Object> getMedicalRecords(String userCode, int pageSize, int offset);

    ResultModel createMedicalRecord(MedicalRecordModel model);

    Map<String, Object> getMedicalRecordList(String userName, int pageSize, int offset);

    ResultModel editMedicalRecord(MedicalRecordModel model);

    ResultModel delById(Integer id);
}
